package com.yunzheng.entity;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author 郭思良
 * @create 2020-08-15 16:39
 */


@Data
@NoArgsConstructor
public class ActivityUser {

    private SysUser user;

    private List<SysRole> roles;

    private List<SysPerm> permissions;

    public ActivityUser(SysUser sysUser, List<SysRole> roles, List<SysPerm> perms) {
        this.user = sysUser;
        this.roles = roles;
        this.permissions = perms;
    }
}
